package com.xinzhi.service.impl;

import com.xinzhi.mapper.OneGradeMapper;
import com.xinzhi.pojo.OneGradeIndex;
import com.xinzhi.pojo.dto.Yiji;
import com.xinzhi.service.OneGradeService;
import com.xinzhi.utils.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OneGradeServiceImpl implements OneGradeService {

    @Autowired
    private OneGradeMapper oneGradeMapper;


    /**
     * 指标框架制定查询接口
     * @return
     */

    @Override
    public List<Yiji> getAll() {
        return oneGradeMapper.getAllwidth();
    }
}
